package com.example.shop.db

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.example.base.entity.HistroyEntity
@Dao
interface HistroyDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insertHis(histroyEntity: HistroyEntity)
    @Query("select * from search_histroy")
    fun queryHis():List<HistroyEntity>
}